package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 银行对象 t_base_bank
 * 
 * @author ruoyi
 * @date 2024-03-21
 */
public class TBaseBank extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 银行ID */
    private Long bankId;

    /** 银行名称 */
    @Excel(name = "银行名称")
    private String bankName;

    /** 初始余额 */
    @Excel(name = "初始余额")
    private BigDecimal initMoney;

    /** 银行类别：1=共用，2=私用 */
    @Excel(name = "银行类别：1=共用，2=私用")
    private String bankType;

    /** 现存余额 */
    @Excel(name = "现存余额")
    private BigDecimal existMoney;

    /** 0:删除1：正常 */
    @Excel(name = "0:删除1：正常")
    private String disable;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createPerson;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateDate;

    /** 修改人 */
    @Excel(name = "修改人")
    private String updatePerson;

    public String getBankType() {
        return bankType;
    }

    public void setBankType(String bankType) {
        this.bankType = bankType;
    }

    public void setBankId(Long bankId)
    {
        this.bankId = bankId;
    }

    public Long getBankId() 
    {
        return bankId;
    }
    public void setBankName(String bankName) 
    {
        this.bankName = bankName;
    }

    public String getBankName() 
    {
        return bankName;
    }
    public void setInitMoney(BigDecimal initMoney) 
    {
        this.initMoney = initMoney;
    }

    public BigDecimal getInitMoney() 
    {
        return initMoney;
    }
    public void setExistMoney(BigDecimal existMoney) 
    {
        this.existMoney = existMoney;
    }

    public BigDecimal getExistMoney() 
    {
        return existMoney;
    }
    public void setDisable(String disable) 
    {
        this.disable = disable;
    }

    public String getDisable() 
    {
        return disable;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setCreatePerson(String createPerson) 
    {
        this.createPerson = createPerson;
    }

    public String getCreatePerson() 
    {
        return createPerson;
    }
    public void setUpdateDate(Date updateDate) 
    {
        this.updateDate = updateDate;
    }

    public Date getUpdateDate() 
    {
        return updateDate;
    }
    public void setUpdatePerson(String updatePerson) 
    {
        this.updatePerson = updatePerson;
    }

    public String getUpdatePerson() 
    {
        return updatePerson;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("bankId", getBankId())
            .append("bankName", getBankName())
            .append("initMoney", getInitMoney())
            .append("existMoney", getExistMoney())
            .append("disable", getDisable())
            .append("createDate", getCreateDate())
            .append("createPerson", getCreatePerson())
            .append("updateDate", getUpdateDate())
            .append("updatePerson", getUpdatePerson())
            .toString();
    }
}
